package com.htthorizon.auth;

import com.htthorizon.auth.controller.TokenController;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.htthorizon.common.security.annotation.EnableRyFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * 认证授权中心
 * 
 * @author mark
 */
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
@ComponentScan(basePackages = {"com.htthorizon"})

public class HtAuthApplication
{

    public static void main(String[] args)
    {
        ConfigurableApplicationContext run = SpringApplication.run(HtAuthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  认证授权中心启动成功  ");
    }
}
